/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ModelLayer;

/**
 *
 * @author Martin
 */
public class Supplier {
    private String name;
    private String address;
    private String country;
    private String phoneNo;
    private String email;
    private String accountInfo;
    private int zipCode;
    private String city;
    private int supplierId;
    
    public Supplier()
    {
        
    }
    
    public Supplier(int supplierId)
    {
        this.supplierId = supplierId;
    }

    public Supplier(String name, String address, String country, String phoneNo, String email, String accountInfo, int zipCode, String city, int supplierId) {
        this.name = name;
        this.address = address;
        this.country = country;
        this.phoneNo = phoneNo;
        this.email = email;
        this.accountInfo = accountInfo;
        this.zipCode = zipCode;
        this.city = city;
        this.supplierId = supplierId;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the address
     */
    public String getAddress() {
        return address;
    }

    /**
     * @param address the address to set
     */
    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * @return the country
     */
    public String getCountry() {
        return country;
    }

    /**
     * @param country the country to set
     */
    public void setCountry(String country) {
        this.country = country;
    }

    /**
     * @return the phoneNo
     */
    public String getPhoneNo() {
        return phoneNo;
    }

    /**
     * @param phoneNo the phoneNo to set
     */
    public void setPhoneNo(String phoneNo) {
        this.phoneNo = phoneNo;
    }

    /**
     * @return the email
     */
    public String getEmail() {
        return email;
    }

    /**
     * @param email the email to set
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * @return the accountInfo
     */
    public String getAccountInfo() {
        return accountInfo;
    }

    /**
     * @param accountInfo the accountInfo to set
     */
    public void setAccountInfo(String accountInfo) {
        this.accountInfo = accountInfo;
    }
    
    /**
     * @return the accountInfo
     */
    public int getzipCode() {
        return zipCode;
    }

    /**
     * @param accountInfo the accountInfo to set
     */
    public void setzipCode(int zipCode) {
        this.zipCode = zipCode;
    }

    /**
     * @return the supplierId
     */
    public int getSupplierId() {
        return supplierId;
    }

    /**
     * @param supplierId the supplierId to set
     */
    public void setSupplierId(int supplierId) {
        this.supplierId = supplierId;
    }

    /**
     * @return the city
     */
    public String getCity() {
        return city;
    }

    /**
     * @param city the city to set
     */
    public void setCity(String city) {
        this.city = city;
    }
}
